package com.zjw.touchscreen.listener;

import android.annotation.SuppressLint;
import android.view.View;
import com.zjw.touchscreen.bluetooth.RemoteControlHelper;

@SuppressLint("NewApi")
public class ReturnKeyClickListener implements View.OnClickListener {

    @Override
    public void onClick(View v) {
        RemoteControlHelper.sendKeyDown(RemoteControlHelper.Key.BACK[0], RemoteControlHelper.Key.BACK[1]);
        RemoteControlHelper.sendKeyUp();
    }
}
